import fetch from '@/utils/fetch'

export function getList (query) {
  return fetch({
    url: '/ServiceType/',
    method: 'get',
    params: query
  })
}

export function getTree (query) {
  return fetch({
    url: '/ServiceType/getTree',
    method: 'get',
    params: query
  })
}

